widget: Pass parent to gtk_widget_consumes_motion()
authorAlexander Mikhaylenko <alexm@gnome.org>
Sat, 2 May 2020 15:34:15 +0000 (20:34 +0500)
committerAlexander Mikhaylenko <alexm@gnome.org>
Thu, 7 May 2020 04:44:15 +0000 (09:44 +0500)
commit6c636642df21a8f61f55903ba29af0504f41bf09
treec47f6ab9321d94ae8e1c55e18514eb24d017d46d
parent42ca760f9cec780fb389f8ca35b2749d0c7bc82a
widget: Pass parent to gtk_widget_consumes_motion()

Right now it assumes that the parent is a GtkWindow. This will break when
window dragging is handled by another widget.
gtk/gtkwidget.c
gtk/gtkwidgetprivate.h
gtk/gtkwindow.c